package com.abc.pro186;

import android.app.Application;
import android.content.Context;
import android.os.Build;
import android.os.Handler;

public class App extends Application{
    private static Context sContext;
    private static final Handler HANDLER = new Handler();
    public static boolean DEBUG = true;
    
    @Override
    public void onCreate(){
        sContext = getApplicationContext();
        if (Build.VERSION.SDK_INT < 8) {
            System.setProperty("http.keepAlive", "false");
        }
    }
    
    public static Context getAppContext(){
        return sContext;
    }
    
    public static Handler getHandler() {
        return HANDLER;
    }
}
